/**
 * 
 */
package org.lanqiao.netctoss.dao;

import java.util.List;

import org.lanqiao.netctoss.entity.Admin;
import org.lanqiao.netctoss.entity.Permiss;

/**
 * @author Administrator
 *
 */
public interface AdminDao {
	public int insertAdper(Admin admin);
	
	public int insertAdmin(Admin admin);

	public int deleteAdmin(Admin admin);

	public int updateAdmin(Admin admin);

	public int updatePsw(Admin admin);
	public List<Admin> selectAdminByno(Admin admin);

	public List<Admin> selectAdmin();

	public Admin login(Admin admin);
	public List<Permiss> selectPermissByAdmin(Admin admin);
	public int deleteAdperByAno(Admin admin);
}
